package com.zyh.scs.admin.api.constant.open;

/**
 * 缓存key 枚举类
 */
public enum RedisKey {

    DEDUCTION_QR_CODE("cddt:v1:app:deduction_qrcode:%s", "支付码"),

    LOCK_DEDUCTION_QR_CODE("cddt:v1:app:lock:deduction_qrcode:%s", "锁-支付码扣费"),
    ;

    private final String code;
    private final String codeName;

    RedisKey(String code, String codeName) {
        this.codeName = codeName;
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public String getCodeName() {
        return codeName;
    }

}